<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="xm"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/backnav.css">
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/admin.css">
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/adminmerchandiseAdd.css">
<script type="text/javascript">
	function updateSuc(){
		alert("修改成功");
	}
	
</script>
</head>
<body>
 	<div id="top">
 		<jsp:include page="/comm/backTop.jsp"></jsp:include>
 	</div>
    <div id="left">
        <jsp:include page="/comm/backnav.jsp"></jsp:include>
    </div>
    <div id="right">
        <div class="right">
		 	<div class="main">
		 	
		 		<form action="<%=request.getContextPath() %>/adminFilter/admin_merchandise?m=addMer" method="post" enctype="multipart/form-data">
		 			<table border="3">
		 				<tr>
		 	 	 			<td class="td-th" colspan="2">商品添加</td>			
		 	 	 		</tr>
		 		 		<tr>
		                     <td class="td-left">商品类别:</td>
		                     <td><input value="" name="category"> </td>
		               	</tr>
		                <tr>
		                     <td class="td-left">商品名称:</td>
		                     <td><input value="" name="merName"> </td>
		               	</tr>
		                <tr>
		                     <td class="td-left">商品价格:</td>
		                     <td>¥<input value="" name="price"> </td>
		             	</tr>
		                <tr>
		                     <td class="td-left">商品品牌:</td>
		                     <td><input value="" name="merModel"> </td>
		                </tr>           
		                <tr>
		                     <td class="td-left">商品介绍:</td>
		                     <td>
		                     	<textarea rows="8" cols="100" name="merDesc"></textarea>
		                     </td>
		                </tr>
		                <tr>
		                     <td class="td-left">厂商:</td>
		                     <td><input value="" name="manufacturer"> </td>
		                </tr>
		                <tr class="bg_tr">
		                     <td class="td-left">是否特价:</td>
		                     <td><input value="" name="special"> </td>
		                </tr>
		                <tr>
		                     <td class="td-left">特价:</td>
		                     <td>¥<input value="" name="sprice"> </td>
		                </tr>
		                <tr>
		                    <td class="td-left">图片:</td>
		                    <td><input type="file" id="file" name="file"/> </td> 
		                </tr> 
		 	 	</table>
		 	 	<div class="saveDiv">
		 	 		<button onclick="updateSuc()">保存</button>
		 	 	</div>
		 	   </form>
	 	 	</div>
        </div>
    </div>
</body>
</html>
